package com.springboot.hotel.controller.hotelRoom;

import com.springboot.hotel.service.impl.RoomServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("/HotelRoom/RoomList")
public class RoomListController {
@Autowired RoomServiceImpl roomService;
    //    RoomListIndex房间首页
    @GetMapping("/RoomListIndex")
    public ModelAndView RoomListIndex(){
        ModelAndView mv = new ModelAndView("HotelRoom/RoomList/RoomListIndex");
        return mv;
    }
}
